<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
	<xsl:output method="xml" encoding="UTF-8"/>
	<xsl:include href="header.xsl"/>
	<xsl:include href="footer.xsl"/>
	<xsl:include href="results_generic.xsl"/>
	<xsl:param name="display_path"/>
	<xsl:param name="exist-url"/>

	<xsl:param name="q"/>
	<xsl:param name="start"/>

	<xsl:template match="/">
		<html>
			<head>
				<link rel="stylesheet" type="text/css"
					href="http://yui.yahooapis.com/2.8.2r1/build/grids/grids-min.css"/>
				<link rel="stylesheet" type="text/css"
					href="http://yui.yahooapis.com/2.8.2r1/build/reset-fonts-grids/reset-fonts-grids.css"/>
				<link rel="stylesheet" type="text/css"
					href="http://yui.yahooapis.com/2.8.2r1/build/base/base-min.css"/>
				<link rel="stylesheet" type="text/css"
					href="http://yui.yahooapis.com/2.8.2r1/build/fonts/fonts-min.css"/>
				<!-- Core + Skin CSS -->
				<link rel="stylesheet" type="text/css"
					href="http://yui.yahooapis.com/2.8.2r1/build/menu/assets/skins/sam/menu.css"/>
				<link type="text/css" href="style.css" rel="stylesheet"/>
				<script type="text/javascript" language="javascript" src="javascript/jquery-1.3.2.min.js"/>
				<script type="text/javascript" src="javascript/search.js"/>
				<script type="text/javascript" language="javascript" src="javascript/toggle_search_options.js"/>
				<title><xsl:value-of select="document(concat($exist-url, '/site_info.xml'))/site_info/title"/>:
					Search</title>
			</head>
			<body class="yui-skin-sam">
				<div id="doc4">
					<xsl:call-template name="header"/>
					<div id="bd">
						<div id="yui-main">
							<div class="yui-b">
								<xsl:call-template name="search_forms"/>
							</div>
						</div>						
					</div>
					<xsl:call-template name="footer"/>
				</div>
				<script type="text/javascript">
					var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
					document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
				</script>
				<script type="text/javascript">
					try {
					var pageTracker = _gat._getTracker("UA-5343246-4");
					pageTracker._trackPageview();
					} catch(err) {}</script>		
			</body>
		</html>
	</xsl:template>
	<xsl:template name="search_forms">
		<form id="advancedSearchForm" method="GET" action="results">
			<div id="searchItemTemplate_1" class="searchItemTemplate">
				<select id="search_option_1" class="category_list">
					<xsl:call-template name="search_options"/>
				</select>
				<div style="display:inline;" class="option_container" id="container_1">
					<input type="text" id="search_text" class="search_text" style="display: inline;"
					/>
				</div>
				<a class="gateTypeBtn" href="#">add »</a>
				<a id="removeBtn_1" class="removeBtn" href="#">« remove</a>
			</div>
			<input name="q" id="q_input" type="hidden"/>
			<input id="and_button" type="submit" value="Search"/>
		</form>

		<div id="searchItemTemplate" class="searchItemTemplate">
			<select id="search_option" class="category_list">
				<xsl:call-template name="search_options"/>
			</select>
			<div style="display:inline;" class="option_container" id="container">
				<input type="text" id="search_text" class="search_text" style="display: inline;"/>
			</div>
			<a class="gateTypeBtn" href="#">add »</a>
			<a id="removeBtn_1" class="removeBtn" href="#">« remove</a>
		</div>
	</xsl:template>
</xsl:stylesheet>
